Predicting Faulty Classes Using Design Metrics with Discriminant Analysis
نویسندگان
چکیده
Nowadays risk assessment is one of software engineering processes that plays important role in software development life cycle. Applying risk assessment to software the earlier is the better. Developers should detect defects of software early at design phase so the improvement action such as refactoring can be taken. Constructing fault prediction model using design metrics is one approach that can help developers to identify the faulty classes at early phase. This paper collects object-oriented design metrics and introduces some new metrics that tend to affect the existing of faults in classes, then construct the fault prediction model with discriminant analysis technique. The prediction model was trained by data collected from sale system and was validated using data from CD-selection system. The result indicates that 12 of 14 design metrics are associated with fault-proneness and the model can be used to classify faulty level of new classes.
منابع مشابه
Comparative Analysis of Random Forests with Statistical and Machine Learning Methods in Predicting Fault-Prone Classes
There are available metrics for predicting fault prone classes, which may help software organizations for planning and performing testing activities. This may be possible due to proper allocation of resources on fault prone parts of the design and code of the software. Hence, importance and usefulness of such metrics is understandable, but empirical validation of these metrics is always a great...
متن کاملAbstract—Prediction of fault-prone modules provides one way to support software quality engineering through improved scheduling
Prediction of fault-prone modules provides one way to support software quality engineering through improved scheduling and project control. There are many metrics and techniques available to investigate the accuracy of fault prone classes which may help software organizations for planning and performing testing activities. Bayes algorithms are being successfully applied for solving both classif...
متن کاملThe impact of accounting for special methods in the measurement of object-oriented class cohesion on refactoring and fault prediction activities
Class cohesion is a key attribute that is used to assess the design quality of a class, and it refers to the extent to which the attributes and methods of the class are related. Typically, classes contain special types of methods, such as constructors, destructors, and access methods. Each of these special methods has its own characteristics, which can artificially affect the class cohesion mea...
متن کاملEvaluating the Effectiveness of Daylight Performance Metrics in Predicting Visual Comfort Case Study: Educational Architecture Design Studios in Tehran
It is essential to ensure that adequate daylight penetrates in, especially, educational environments. In spite of positive significant impacts of daylight on the emotions, concentration, and learning of students, an exceeded amount of light will lead to glare and visual dissatisfaction. Over the last few years, with the help of simulation tools and lighting indices, it is possible to predict li...
متن کاملInvestigating effect of Design Metrics on Fault Proneness in Object-Oriented Systems
Demand for quality software has undergone with rapid growth during the last few years. This is leading to an increase in the development of metrics for measuring the properties of software such as coupling, cohesion or inheritance that can be used in early quality assessments. Quality models that explore the relationship between these properties and quality attributes such as fault proneness, m...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2003